﻿using Engine;
using System;
using System.Collections.Generic;

namespace Game
{
    /// <summary>
    /// 指令对象
    /// </summary>
    public class Instruction
    {
        public string Name;//指令名称

        public string About;//指令速览

        public bool Condition;//是否为条件判断

        public bool Survival; //是否为生存可用

        public List<string> Types = new List<string>();//命令类型

        public Dictionary<string, string> Demos = new Dictionary<string, string>();//key:type value:指令演示

        public Dictionary<string, string> Details = new Dictionary<string, string>();//key:type value:指令说明

        public Dictionary<string, string[]> Paras = new Dictionary<string, string[]>();//key:type value:所有变量

        public Dictionary<string, string> Definitions = new Dictionary<string, string>();//key:type$v value:变量说明

        public Dictionary<string, Point2> Ranges = new Dictionary<string, Point2>();//key:type$v value:变量范围

        public Dictionary<string, string> Options = new Dictionary<string, string>();//key:type$v value:变量选项
    }
}